package com.baizhi.hospital.controller;

import com.baizhi.hospital.service.ExamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class ExamController {
    @Autowired
    private ExamService examService;
    @RequestMapping("selectExamByPage")
    public Map selectExamByPage(int page,int limit){
        return examService.selectExamByPage(page,limit);
    }
}
